package demo1;

public class Robert implements IFlying,ISwimming,IRunning{
    @Override
    public void fly() {
        System.out.println("机器人在飞");
    }

    @Override
    public void run() {
        System.out.println("机器人在跑");
    }

    @Override
    public void swim() {
        System.out.println("机器人在游泳");
    }
}
